<?php
/**
 * 产品大类别block文件
 *
 * @author		Arthur(ArthurXF@gmail.com)
 * @copyright	(c) 2006 by bizeway.com
 * @version		$Id$
 * @package		ArthurXF
 * @subpackage	grace
 */
if (is_object($objWebInit)) {
	if(!isset($objgrace)){
		include_once(__WEB_ROOT."/grace/class/grace.class.php");
		$objgrace =& new grace();
		$objgrace->arrGPdoDB = $arrGPdoDB;
		if(is_object($objWebInit->db)) $objgrace->db = $objWebInit->db;
		else $objgrace->db();
	}
	$arrTopInfo = array();
	$arrTopInfo = $objgrace->getTypeList("where type_parentid = '0'",' order by initial,type_sort desc');

	// 输出到模板
	$arrMOutput["smarty_assign"]['arrgraceType'] = $arrTopInfo;
}
?>